﻿@using BlazorDemo.Configuration
@inject DemoConfiguration DemoConfiguration
<Router AppAssembly="@typeof(App).Assembly" AdditionalAssemblies="@DemoConfiguration.AdditionalRoutingAssemblies">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@(typeof(MainLayout))"  />
    </Found>
    <NotFound>
        <LayoutView Layout="@(typeof(MainLayout))">
            <p>Sorry, there's nothing at this address.</p>
        </LayoutView>
    </NotFound>
</Router>
